package com.atguigu.spring.bean;

/**
 * @author 孙志鹏
 * @create 2021-06-03 22:11
 */
public class User {

    private String name;

    private Integer age;

    public void setName(String name) {
        this.name = name;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getName() {
        return this.name;
    }

    /**
     * 调用add方法
     */
    public void add() {
        System.out.println("add...");
    }
}
